<?php

use Illuminate\Database\Seeder;

class users_discountTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
            
            DB::table('users_discount')->insert([
                'level_name' => '普通',
                'level_discount' => 1,
                'state' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                 'updated_at' => date('Y-m-d H:i:s'),
            ]);

             DB::table('users_discount')->insert([
                'level_name' => 'vip',
                'level_discount' => 0.9,
                'state' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                 'updated_at' => date('Y-m-d H:i:s'),
            ]);

              DB::table('users_discount')->insert([
                'level_name' => '钻石vip',
                'level_discount' => 0.85,
                'state' => 1,
                'created_at' => date('Y-m-d H:i:s'),
                 'updated_at' => date('Y-m-d H:i:s'),
            ]);
    }
}
